<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>图文列表</title>
<link href="__PUBLIC__/admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/css/css.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="__PUBLIC__/admin/js/jquery.js"></script>
<script type="text/javascript"> 
function del(){ 
    if(!confirm("确认要删除？")){ 
        window.event.returnValue = false; 
    } 
} 
</script>
<body>
<div class="place">
<span>位置：</span>
<ul class="placeul">
<li><a href="#">基础设置</a></li>
<li><a href="#">文章列表</a></li>
</ul>
</div>
<div class="index-right">
    <div class="formbody">
        <div class="tools">
            <ul class="toolbar">
                <a href="/index.php/Admin/Content/contentadd">
                <li class="click"><span><img src="__PUBLIC__/admin/images/pic/t01.png" /></span>添加文章</li>
                </a>
            </ul>
        </div>
        <table class="tablelist">
            <thead>
            <tr>
            <th>标题</th>
            <th>关键字</th>
            <th>封面图片</th>
            <th>时间</th>
            <th>文章链接</th>
            <th>操作</th>
            </tr>
            </thead>

            <tbody>
            <volist name="imgtextData" id="vo">
            <tr>
            <td>{$vo.t_title}</td>
            <td>{$vo.t_explain}</td>
            <td><img src="{$vo.t_img}" height="40px;"></td>
            <td>{$vo.t_createtime|date='Y-m-d H:i:s',###}</td>
            <td>http://doctor.icehot.cc/index.php/index/imgtext/id/{$vo.id}</td>
            <td>
            <a href="/admin.php/content/imgtextupdata/id/{$vo.id}">
            <input type="button" value="修改" style="background-color: #f0f9fd;width: 100px;height: 30px;line-height: 30px;text-align: center;border-radius: 5px;font-size: 14px;"></input>
            </a>
            <a href="/admin.php/content/imgtextdelete/id/{$vo.id}" onclick="return del()">
            <input type="button" value="删除" style="background-color: #f0f9fd;width: 100px;height: 30px;line-height: 30px;text-align: center;border-radius: 5px;font-size: 14px;"></input>
            </a>
            </td>
            </tr>
            </volist>
            </tbody> 
        </table>
        <div class="Paginationn">{$page}</div>
    </div><!-- formbody结束 -->
</div>
<script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
</script>
</body>

</html>
